using System;
using System.Collections.Generic;
using System.Text;

namespace ACS.Compiler.Tree.Impl
{
    public  class Data : TreeBase
    {
        private List<TypeField> _fields = new List<TypeField>();

        public List<TypeField> Fields
        {
            get { return _fields; }
        }

        public override void MatchTypeField(TypeField field)
        {
            _fields.Add(field);
        }

        public override string ToString()
        {
            return "Data";
        }

        public override TreeTags Tag
        {
            get
            {
                return TreeTags.Data;
            }
        }
    }
}
